/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.inria.openmath.omapi;

/**
 *
 * @author Mr.Sam
 */
public interface Locator {

    /**
     * Returns the line number where the current parsing event ends.
     *
     * <p>Note that this is the line position of the first character
     * after the text associated with the event.
     * @return The line number, or -1 if none is available.
     * @see #getColumnNumber
     */
    public int getLineNumber() ;


    /**
     * Returns the column number where the current parsing event ends.
     *
     * <p>Note that this is the column number of the first
     * character after the text associated with the event.
     * The first column in a line is position 1.
     * @return The column number, or -1 if none is available.
     * @see #getLineNumber
     */
    public int getColumnNumber() ;

}
